package com.xc.dao;

import com.xc.pojo.SiteArticle;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SiteArticleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SiteArticle record);

    int insertSelective(SiteArticle record);

    SiteArticle selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SiteArticle record);

    int updateByPrimaryKey(SiteArticle record);



    List listByAdmin(@Param("artTitle") String artTitle
            ,@Param("artType") String artType);


    List list(@Param("artTitle") String artTitle
            ,@Param("artType") String artType);

}